Skip to main content

Stop Channel

AutomatR.GoogleCalendar.Activities.StopChannel

The "Stop Channel" activity in AutomatR is part of the Google Calendar activities package, allowing you to stop a channel associated with a specific Google Calendar. This activity is useful when you no longer wish to receive notifications or updates from a particular calendar through the channel.

Properties

NameDescription
Input
Calendar NameSpecifies the name of the calendar for which you want to stop the channel. String variables containing the calendar name.
Channel IDSpecifies the unique identifier (ID) associated with the channel to be stopped. String variables containing the channel ID.
Resource IDSpecifies the resource ID associated with the channel to be stopped. String variables containing the resource ID.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Stop Channel" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e. 1.

How to use:

  1. Drag and drop the "Stop Channel" activity onto the workflow.
  2. Configure the properties by specifying the calendar name, channel ID, and resource ID associated with the channel you want to stop.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to stop the specified channel for the given calendar in Google Calendar.

Example: Consider an example where the "Stop Channel" activity is used to stop a channel associated with the "Work Calendar" with a 2-second delay:

Stop Channel:
Display Name: "Stop Work Calendar Channel"
Calendar Name: "Work Calendar"
Channel ID: "channel123"
Resource ID: "resource123"
Delay: 2

In this example, the activity stops the channel with the specified channel ID and resource ID associated with the "Work Calendar," with a 2-second delay.